import {Route, Routes} from "react-router-dom";
import publicRoutes from "../../../routes/publicRoutes";

const PublicHomePage = () => {

    return (
        <div style={{height: "100vh", width: "100vw"}}>
            <Routes>
                {publicRoutes.map((item) => (
                    <Route
                        key={item.path}
                        path={item.path}
                        element={item.element}
                    />
                ))}
            </Routes>
        </div>
    )
}
export default PublicHomePage;